<template>
  <dv-card :class="$style.wrapper" header-height="90px">
    <template #header>
      <today />
    </template>
    <div :class="$style['rightContent']">
      <!--    改革创新-->
      <two-layout direction="column">
        <border-box>
          <dv-card style="height: 89%">
            <template #header>
              <dv-title1>改革创新</dv-title1>
            </template>
            <div :class="$style.ggcx">
              <dv-card
                :class="$style.cxqd"
                :card-bg="require('@/assets/szkb/创新驱动.png')"
                header-height="40px"
              >
                <template #header>
                  <dv-title2>创新驱动</dv-title2>
                </template>
                <Image
                  :src="require('@/assets/components/board/a7.png')"
                  width="410"
                ></Image>
              </dv-card>
              <dv-card
                :card-bg="require('@/assets/szkb/营商环境.png')"
                header-height="50px"
              >
                <template #header>
                  <dv-title2>营商环境</dv-title2>
                </template>
                <Image
                  :src="require('@/assets/components/board/a8.png')"
                  width="400"
                ></Image>
              </dv-card>
              <dv-card
                :card-bg="require('@/assets/szkb/改革赋能.png')"
                header-height="50px"
              >
                <template #header>
                  <dv-title2>改革赋能</dv-title2>
                </template>
                <Image
                  :src="require('@/assets/components/board/a20.png')"
                  width="400"
                ></Image>
              </dv-card>
              <dv-card
                :class="$style.yszc"
                :card-bg="require('@/assets/szkb/要素支撑.png')"
              >
                <template #header>
                  <dv-title2>要素支撑</dv-title2>
                </template>
                <Image
                  :src="require('@/assets/components/board/a9.png')"
                  width="400"
                ></Image>
              </dv-card>
            </div>
          </dv-card>
        </border-box>

        <two-layout>
          <border-box>
            <dv-card header-height="50px">
              <template #header>
                <dv-title1>产业现代化</dv-title1>
              </template>
              <three-layout
                direction="column"
                style="grid-template-rows: 139px 133px auto"
              >
                <dv-card
                  :card-bg="require('@/assets/szkb/工业经济.png')"
                  header-height="45px"
                >
                  <template #header>
                    <dv-title2>工业经济</dv-title2>
                  </template>
                  <Image
                    :src="require('@/assets/components/board/a10.png')"
                    width="350"
                  ></Image>
                </dv-card>
                <dv-card
                  :card-bg="require('@/assets/szkb/影视文旅产业.png')"
                  header-height="45px"
                >
                  <template #header>
                    <dv-title2>影视文旅产业</dv-title2>
                  </template>
                  <Image
                    :src="require('@/assets/components/board/a11.png')"
                    width="350"
                  ></Image>
                </dv-card>
                <dv-card
                  :card-bg="require('@/assets/szkb/木雕家具产业.png')"
                  header-height="45px"
                >
                  <template #header>
                    <dv-title2>木雕家具产业</dv-title2>
                  </template>
                  <Image
                    :src="require('@/assets/components/board/a12.png')"
                    width="350"
                  ></Image>
                </dv-card>
              </three-layout>
            </dv-card>
          </border-box>

          <border-box>
            <dv-card header-height="50px">
              <template #header>
                <dv-title1>双循环</dv-title1>
              </template>
              <three-layout
                direction="column"
                style="grid-template-rows: 105px 97px auto"
              >
                <dv-card
                  :card-bg="require('@/assets/szkb/扩大有效投资.png')"
                  header-height="40px"
                >
                  <template #header>
                    <dv-title2>扩大有效投资</dv-title2>
                  </template>
                  <Image
                    :src="require('@/assets/components/board/a13.png')"
                    width="350"
                  ></Image>
                </dv-card>
                <dv-card
                  :card-bg="require('@/assets/szkb/对外开放.png')"
                  header-height="40px"
                >
                  <template #header>
                    <dv-title2>对外开放</dv-title2>
                  </template>
                  <Image
                    :src="require('@/assets/components/board/a14.png')"
                    width="350"
                  ></Image>
                </dv-card>
                <dv-card :card-bg="require('@/assets/szkb/交通互联互通.png')">
                  <template #header>
                    <dv-title2>交通互联互通</dv-title2>
                  </template>
                  <Image
                    :src="require('@/assets/components/board/a15.png')"
                    width="400"
                  ></Image>
                </dv-card>
              </three-layout>
            </dv-card>
          </border-box>
        </two-layout>
      </two-layout>

      <!--      <two-layout :class="$style.rightBox" direction="column">-->
      <!--        &lt;!&ndash;    全域化美丽&ndash;&gt;-->
      <!--        <border-box>-->
      <!--          <dv-card :content-bg="require('@/assets/szkb/城市品质.png')">-->
      <!--            <template #header>-->
      <!--              <dv-title1>全域化美丽</dv-title1>-->
      <!--            </template>-->
      <!--            <three-layout direction="column">-->
      <!--              <dv-card>-->
      <!--                <template #header>-->
      <!--                  <dv-title2>城市品质</dv-title2>-->
      <!--                </template>-->
      <!--                <Image-->
      <!--                  :src="require('@/assets/components/board/a16.png')"-->
      <!--                  width="400"-->
      <!--                ></Image>-->
      <!--                <proportion :source="proportionData" style="color: #fff" />-->
      <!--              </dv-card>-->
      <!--              <dv-card>-->
      <!--                <template #header>-->
      <!--                  <dv-title2>乡村振兴</dv-title2>-->
      <!--                </template>-->
      <!--                <Image-->
      <!--                  :src="require('@/assets/components/board/a17.png')"-->
      <!--                  width="400"-->
      <!--                ></Image>-->
      <!--              </dv-card>-->
      <!--              <dv-card>-->
      <!--                <template #header>-->
      <!--                  <dv-title2>生态环境改善大作战</dv-title2>-->
      <!--                </template>-->
      <!--                <Image-->
      <!--                  :src="require('@/assets/components/board/a18.png')"-->
      <!--                  width="400"-->
      <!--                ></Image>-->
      <!--              </dv-card>-->
      <!--            </three-layout>-->
      <!--          </dv-card>-->
      <!--        </border-box>-->

      <!--        <border-box>-->
      <!--          <dv-card :content-bg="require('@/assets/szkb/高品质生活.png')">-->
      <!--            <template #header>-->
      <!--              <dv-title1>高品质生活</dv-title1>-->
      <!--            </template>-->
      <!--            <Image-->
      <!--              :src="require('@/assets/components/board/a19.png')"-->
      <!--              width="420"-->
      <!--            ></Image>-->
      <!--          </dv-card>-->
      <!--        </border-box>-->
      <!--      </two-layout>-->
    </div>
  </dv-card>
</template>

<script>
import BorderBox from "@/components/BorderBox1";
import DvCard from "@/components/DvCard";
import DvTitle1 from "@/components/DvTitle1";
import TwoLayout from "@/components/layout/TwoLayout";
import DvTitle2 from "@/components/DvTitle2";
import ThreeLayout from "@/components/layout/ThreeLayout";
import Today from "@/views/152/components/Right/components/Today";
import Image from "@/components/Image";
export default {
  name: "Right",
  components: {
    Today,
    ThreeLayout,
    DvTitle2,
    TwoLayout,
    DvTitle1,
    DvCard,
    BorderBox,
    Image,
  },
  data() {
    return {
      proportionData: [
        { name: "六石镇", value: "740", unit: "" },
        { name: "画水镇", value: "740", unit: "" },
        { name: "六石镇", value: "740", unit: "" },
        { name: "画水镇", value: "740", unit: "" },
      ],
    };
  },
};
</script>

<style lang="scss" module>
.rightContent {
  grid-template-columns: 2fr 1fr;
}

.ggcx {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  height: 100%;
}

.cxqd {
  grid-row-start: 1;
  grid-row-end: 3;
}

.yszc {
  grid-row-start: 2;
  grid-row-end: 4;
  grid-column-start: 2;
}

.rightBox {
  grid-template-rows: 2fr 1fr;
}
</style>
